<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
	
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
	
	<div class="row">
		<div class="col-md-12 col-sm-12 col-lg-12 col-xs-12 text-right">
			<t:roleButton />
		</div>
	</div>
	
<script type="text/javascript">

	$(function(){
		$(".posterSearch").on("change",function(){
			var formData = $("#custPosterSearch").serialize();
			var action = $("#custPosterSearch").attr("action");
			var html = $.getText(action,formData);
			$("#output").html(html);
			 
		});
	});
function deleteData(){
	$("input:checkbox:checked").each(function(){
			var id = $(this).parent().attr("id");
			var url = $.getVirtualPath()+"/admin/cust/custPoster/delete?key="+id;
			var result = $.getTextPost(url);
			if(result=="success"){
				var formData = $("#custPosterSearch").serialize();
				var action = $("#custPosterSearch").attr("action");
				var html = $.getText(action,formData);
				$("#output").html(html);
			}
			
		});
}

function uploadPoster(){
	top.openModal("/admin/cust/custPoster/uploadPoster","poster_from","上传海报",800,446);
} 

</script> 